package com.base.po.replacement;

import java.util.Date;

public class ReplacementError {
    private Integer id;// id

    private String orderno;// 商户订单号

    private String yptorderno;// 系统订单号

    private String userid;// 用户id

    private Date createtime;// 创建时间

    private Byte paytype;// 订单类型 1快捷订单 2代还订单

    private String errormemo;// 异常内容

    private Integer errortype;// 异常订单类型 1 代还流程 2代偿流程

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno == null ? null : orderno.trim();
    }

    public String getYptorderno() {
        return yptorderno;
    }

    public void setYptorderno(String yptorderno) {
        this.yptorderno = yptorderno == null ? null : yptorderno.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Byte getPaytype() {
        return paytype;
    }

    public void setPaytype(Byte paytype) {
        this.paytype = paytype;
    }

    public String getErrormemo() {
        return errormemo;
    }

    public void setErrormemo(String errormemo) {
        this.errormemo = errormemo == null ? null : errormemo.trim();
    }

    public Integer getErrortype() {
        return errortype;
    }

    public void setErrortype(Integer errortype) {
        this.errortype = errortype;
    }

    public ReplacementError() {
        super();
    }

    public ReplacementError(String orderno, String yptorderno, Date createtime, Byte paytype, String errormemo, Integer errortype) {
        this.orderno = orderno;
        this.yptorderno = yptorderno;
        this.createtime = createtime;
        this.paytype = paytype;
        this.errormemo = errormemo;
        this.errortype = errortype;
    }
}